OnTime REST API
OnTime REST API / REST Endpoints Resource Group / api/user/position/{userID} (Get)
In This Topic
    Getapi/user/position/{userID}
    In This Topic

    Resource Path: /sites/{company-id}/api/user/position/{userID}

    Uri: https://secure.ontime360.com/sites/{company-id}/api/user/position/{userID}

    Description
    Retrieves the most recent UserPosition object assigned to a given User .
    Parameters
    NameDescriptionData Type
     string
    200 Response

    The response body is of type UserPosition.

    Returns a comprehensive UserPosition object.

    Overview

    UserPosition
    Represents a comprehensive UserPosition record within the OnTime API.
    Position : string
    The position of the User as a comma-delimited pair of geographic latitude/longitude coordinates.
    Timestamp : string
    The exact date when the value of Position was determined.
    Fault Responses
    FaultDescription
    Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information.
    Authorization key is invalid or no longer exists.
    Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information.
    See Also